package com.zhao.wechat.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 百度今日天气实体类
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BaiduNowWeather {

    /**
     * 天气现象,例如阴
     **/
    @JSONField(name = "text")
    private String text;

    /**
     * 温度（℃）
     **/
    @JSONField(name = "temp")
    private Integer temp;

    /**
     * 体感温度(℃)
     **/
    @JSONField(name = "feels_like")
    private Integer feelsLike;

    /**
     * 相对湿度(%)
     **/
    @JSONField(name = "rh")
    private String rh;

    /**
     * 风力等级
     **/
    @JSONField(name = "wind_class")
    private String windClass;

    /**
     * 风向描述
     **/
    @JSONField(name = "wind_dir")
    private String windDir;


}
